/**
 * 
 */
package com.estock.web.service.impl;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.estock.common.model.security.DailyTrans;
import com.estock.common.service.impl.BaseServiceImpl;
import com.estock.web.dao.DailyTransDao;
import com.estock.web.service.DailyTransService;

/**
 * @author richard
 *
 */
@Service
public class DailyTransServiceImpl extends BaseServiceImpl implements DailyTransService {
	
	@Resource
	DailyTransDao dailyTransDao;
	public DailyTransDao getDailyTransDao() {
		return dailyTransDao;
	}

	@Override
	public DailyTrans saveOrUpdate(DailyTrans dailyTrans) {
		getDailyTransDao().saveOrUpdate(dailyTrans);
		return dailyTrans;
	}

}
